package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.comboBox.NxComboBox;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	
	public class EmulatePartnerUI extends BaseUI
	{
		public static var _self:EmulateUI;
		
		public var comBox:NxComboBox;
		
		public var itemGroup:NxViewGroup;
		///public var buyBtn:NxButton;
		
		public var effect:MovieClip;
		
		/**背景框*/
		public var back:MovieClip;
		
		//	public var landi:MovieClip;
		
		//public var lineback:MovieClip;
		/**升级练功房*/
		public var beginBtn:NxButton;
		
		/**刷新师父状态*/
		public var refreshBtn:NxButton;
		
		//public var houseClip:NxClip;
		
		/**伙伴等级高于主教等级*/
		public var levelShow:NxLabel;
		
		/**升级队列*/
		//public var upClip:NxClip;
		
		/**经验进度条*/
	//	public var expBar:MovieClip;
		/**礼物图片*/
		public var gift0:NxClip;
		public var gift1:NxClip;
		public var gift2:NxClip;
		public var gift3:NxClip;
		public var gift4:NxClip;
		/**礼物文本*/
		public var txtLab_0:NxLabel;
		public var txtLab_1:NxLabel;
		public var txtLab_2:NxLabel;
		public var txtLab_3:NxLabel;
		public var txtLab_4:NxLabel;
		
		public var sign_0:MovieClip;
		public var sign_1:MovieClip;
		public var sign_2:MovieClip;
		public var sign_3:MovieClip;
		
		public var nowlab:NxLabel;
		
		public var explab:NxLabel;
			
		public var headClip:NxClip;
		
		public var levelLab:NxLabel;
		
		public var headBack:MovieClip;
		
		/**升级特效*/
		public var upEffect:MovieClip;
		
		public function EmulatePartnerUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		
		override public function Init():void
		{
			//beginBtn.label	=	"开始拜师";
			//refreshBtn.label=	"孝敬师傅";	
			EmulatePartnerLogic.getInstance().Init();
		}
		
		override protected function BeforeShow():void
		{
			EmulatePartnerLogic.getInstance().BeforeShow();
		}
		
		override protected function AfterHide():void
		{
			EmulatePartnerLogic.getInstance().AfterHide();
		}
	}
}